package com.twu.biblioteca.menus;

import com.twu.biblioteca.BookList;
import com.twu.biblioteca.OutputController;

import java.io.IOException;

public class BookMenu implements Menu {

    private final BookList books;
    private final OutputController outputController;
    private int nextMenu;

    public BookMenu(BookList books, OutputController outputController) {
        this.books = books;
        this.outputController = outputController;
    }

    public void displayMenu() {

    }

    public void runCommand() {
        outputController.drawOptions(books.getOptions());
        nextMenu = 1;
    }

    public void getInput() throws IOException {
    }

    public int getNextMenu() {
        return nextMenu;
    }

    @Override
    public boolean mustBeLoggedIn() {
        return false;
    }


}
